package org.example.project.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author weibin
 * @since 2025/10/20 23:37
 */
@ConfigurationProperties(prefix = "short-link.goto-domain.white-list")
@Component
@Data
public class GotoDomainWhiteListConfiguration {

    private Boolean enable;
    private String names;
    private List<String> details;

}
